<template>
    <div>
        {{filterMessage|filter1}}
    </div>
</template>

<script>
    export default {
        name: "Filter_Demo",
        data() {
            return {
                filterMessage: '1过滤信息中的数字123456789'
            }
        },
        filters: {
            filter1: function (value) {
                console.log(value.toString().replace(/[0-9]*/g,''))
                return value.toString().replace(/[0-9]*/g, '')
            }
        }
    }
</script>

<style scoped>

</style>
